package Adapter;

import java.util.ArrayList;
import java.util.List;
import DomainPackage.*;
import Sistem.*;
public class KargoUcakAdapter {

	public static List<KargoUcak> getAllKargoUcak(){
        List<Object> objectList = Register.getAll(KargoUcak.class);
        //as all getAll functions, we have to cast to according class
        List<KargoUcak> kargoucakList = new ArrayList<KargoUcak>();
        for(Object temp:objectList){
                kargoucakList.add((KargoUcak)temp);
        }
        return kargoucakList;
	}
}
